package com.demo;



public class EnumEqual {
	
	public enum Shrubbery { GROUND, CRAWLING, HANGING }

	public static void main(String[] args) {
		
//        for(Shrubbery s : Shrubbery.values()) {
//            System.out.println(
//                    s + " ordinal: " + s.ordinal());
//            System.out.print(
//                    s.compareTo(Shrubbery.CRAWLING) + " ");
//            System.out.print(
//                    s.equals(Shrubbery.CRAWLING) + " ");
//            System.out.println(s == Shrubbery.CRAWLING);
//            System.out.println(s.getDeclaringClass());
//            System.out.println(s.name());
//            System.out.println("********************");
//        }
		//System.out.println(Enum.valueOf(Shrubbery.class, "ground"));
		char []  chars= {'q','b'};
		System.out.println(String.valueOf(chars));
	}
}
